<?php

 $router = new Zend_Controller_Router_Rewrite();


 $router->addRoute('default',
     new Zend_Controller_Router_Route(':controller/:lang', array('controller' => 'about', 'action' => 'index', 'lang' => 'en'))
 );

  $router->addRoute('action',
     new Zend_Controller_Router_Route(':controller/:action/:lang', array('controller' => 'about', 'action' => 'index', 'lang' => 'en'))
 );

 $router->addRoute('application_areas',
     new Zend_Controller_Router_Route('applications/:cid/:id/:lang', array('controller' => 'applications', 'action' => 'area', 'lang' => 'en', 'id'=>'0','cid'=>'0'))
 );

 $router->addRoute('applications',
     new Zend_Controller_Router_Route('applications/:lang', array('controller' => 'applications', 'action' => 'index', 'lang' => 'en'))
 );

 $router->addRoute('lightbox',
     new Zend_Controller_Router_Route('lightbox/:action/:id/:lang', array('controller' => 'lightbox', 'action' => 'index', 'lang' => 'en', 'id'=>'0'))
 );

 $router->addRoute('disclaimer',
     new Zend_Controller_Router_Route('disclaimer', array('controller' => 'simplecontent', 'action' => 'index', 'lang' => 'en', 'page'=>'disclaimer'))
 );

 $router->addRoute('copyright',
     new Zend_Controller_Router_Route('copyright', array('controller' => 'simplecontent', 'action' => 'index', 'lang' => 'en', 'page'=>'copyright'))
 );

 $router->addRoute('policy',
     new Zend_Controller_Router_Route('policy', array('controller' => 'simplecontent', 'action' => 'index', 'lang' => 'en', 'page'=>'policy'))
 );

// $router->addRoute('default',
//     new Zend_Controller_Router_Route(':request', array('controller' => 'index', 'action' => 'index'))
// );
//
// $router->addRoute('newsletter',
//     new Zend_Controller_Router_Route(':request', array('controller' => 'index', 'action' => 'index'))
// );

 $router->addRoute('get_form',
     new Zend_Controller_Router_Route('get_form', array('controller' => 'FormBuilder', 'action' => 'getForm'))
 );

  $router->addRoute('save_form',
   new Zend_Controller_Router_Route('save_form', array('controller' => 'FormBuilder', 'action' => 'saveForm'))
 );

 $router->addRoute('edit_form',
   new Zend_Controller_Router_Route('edit_form', array('controller' => 'FormBuilder', 'action' => 'editForm'))
 );

 $router->addRoute('delete_form',
   new Zend_Controller_Router_Route('delete_form', array('controller' => 'FormBuilder', 'action' => 'deleteForm'))
 );


?>
